Skip to content

Conversation

@HeyMeco
Copy link
Collaborator

@HeyMeco HeyMeco commented Nov 8, 2025

From upstream: https://lore.kernel.org/dri-devel/[email protected]/T/#u

The shmem layer zeroes out the new pages using cached mappings, and if we don't CPU-flush we might leave dirty cachelines behind, leading to potential data leaks and/or asynchronous buffer corruption when dirty cachelines are evicted.

Fixes: 8a1cc07 ("drm/panthor: Add GEM logical block")

The shmem layer zeroes out the new pages using cached mappings, and if
we don't CPU-flush we might leave dirty cachelines behind, leading to
potential data leaks and/or asynchronous buffer corruption when dirty
cachelines are evicted.

Fixes: 8a1cc07 ("drm/panthor: Add GEM logical block")
Signed-off-by: Boris Brezillon <[email protected]>
@HeyMeco
Copy link
Collaborator Author

HeyMeco commented Nov 8, 2025

The patch applied cleanly but needs to be tested to make sure it didn't break anything downstream.
If confirmed let's get this merged as quick as possible

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants